/*
 * 环境配置封装
 * @author Leriy
 * env.MODE 本地：development
 * env.MODE 线上：production
*/
const env = import.meta.env.MODE || 'production'

const envConfig = {
    development: {
        baseApi: '/api'
    },
    production: {
        baseApi: ''
    }
}

export default {
    env,
    storageNamespace: 'manage',
    ...envConfig[env]
}
